<?php

// +----------------------------------------------------------------------
// | H1CMS © OpenSource CMS
// +----------------------------------------------------------------------
// | Copyright (c) 2014-2016 http://www.h1cms.com All rights reserved.
// | Copyright (c) 2014-2016 嘉兴领格信息技术有限公司，并保留所有权利。
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Allen <allen@lg4.cn>
// +----------------------------------------------------------------------

require __DIR__ . '/../vendor/autoload.php';

define('APP_PATH', __DIR__);

define('BASEURL', base_url());

//alias
LG::setAlias('@app', APP_PATH);


//设置时区
date_default_timezone_set(Lg\Config::get('config.timezone', 'PRC'));
//设置语言
//Lg\I18n\Language::setLanguage(\Lg\Http\Input::languages());

LG::Action();

